package datasource.temp;

import java.io.IOException;

public class RemoveTextElementFromPDF {
    public static void main(String[] args) {
        try {
            PDFModifier modifier = new PDFModifier();
            modifier.removeTextFromPDF(
                    "D:\\yummeng\\test.pdf",
                    "D:\\yummeng\\output_modified123.pdf",
                    "Evaluation Warning : The document was created with Spire.PDF for Java."
            );
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
